using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.register
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string Register_ID= strid;
					ShowInfo(Register_ID);
				}
			}
		}
		
	private void ShowInfo(string Register_ID)
	{
		Maticsoft.BLL.Register.register bll=new Maticsoft.BLL.Register.register();
		Maticsoft.Model.Register.register model=bll.GetModel(Register_ID);
		this.lblRegister_ID.Text=model.Register_ID;
		this.lblAppointment_ID.Text=model.Appointment_ID;
		this.lblOutpatient_ID.Text=model.Outpatient_ID;
		this.lblPatientUserInfo_ID.Text=model.PatientUserInfo_ID;
		this.lblPayForRegistrantion_ID.Text=model.PayForRegistrantion_ID;
		this.lblRegister_Number.Text=model.Register_Number.ToString();
		this.lblRegister_IDCode.Text=model.Register_IDCode;
		this.lblRegister_RegisterWay.Text=model.Register_RegisterWay;
		this.lblRegister_IsRegister.Text=model.Register_IsRegister;
		this.lblRegister_PatientName.Text=model.Register_PatientName;
		this.lblRegister_PaintSex.Text=model.Register_PaintSex;
		this.lblRegister_BirthDay.Text=model.Register_BirthDay.ToString();
		this.lblRegister_IDCards.Text=model.Register_IDCards;
		this.lblRegister_IsSocialSecurity.Text=model.Register_IsSocialSecurity;
		this.lblRegister_IsCasehistory.Text=model.Register_IsCasehistory;
		this.lblRegister_CasehistoryID.Text=model.Register_CasehistoryID;
		this.lblRegister_IsPayFee.Text=model.Register_IsPayFee;
		this.lblRegister_RegisterIP.Text=model.Register_RegisterIP;
		this.lblRegister_Status.Text=model.Register_Status;
		this.lblRegister_IsClinic.Text=model.Register_IsClinic;
		this.lblRegister_AddTime.Text=model.Register_AddTime.ToString();
		this.lblRegister_Recoder.Text=model.Register_Recoder;

	}


    }
}
